<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h1>表单默认上传</h1>
    <!-- form 表单中文件上传  必须加属性  enctype-->
    <!--  multipart/form-data -->
    <form action="http://localhost:8080/users/avator" method="post" enctype="multipart/form-data">
        <input type="file" name="avator" id="file" />
        <button>提交</button>
    </form>
</body>
</html>